package com.ebt.m.commons.buscomponent.thirtylogin.model;

import java.util.HashMap;

/**
 * Created by andy.wang on 2016/10/17.
 */

public interface PlatformActionListener {
    /**
     * 登录成功
     *
     * @param userInfo
     */
    void onComplete(String thirtyType, HashMap<String, Object> userInfo);

    /**
     * 登录失败
     */
    void onError(String thirtyType, String error);

    /**
     * 取消登录
     */
    void onCancel(String thirtyType);
}
